import { Component, Vue } from 'vue-property-decorator'

@Component
export class checkEmployeeDel extends Vue {
  get point() {
    return this.$store.getters.roles.points
  }

  // 校验是否有删除权限
  checkPermFn(): boolean {
    return this.point ? this.point.includes('employees_delete') : false
  }
}
